const app = getApp()
const imgBaseUrl = app.globalData.imgBaseUrl;
Page({
  data: {
    imgBaseUrl: imgBaseUrl,
    money:0
  },
  onShow: function () {
    var that=this;
    app.func.postReq('/text/index.php/home/user/userye',{},function(res){
      that.setData({
        money:res.user.money?res.user.money:0
      })
    })
  }
})